<HTML><HEAD><TITLE>licence_held(+Feature)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(flexlm)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>licence_held(+Feature)</H1>
Check whether we already have a licence for a particular feature
<DL>
<DT><EM>Feature</EM></DT>
<DD>String or atom
</DD>
</DL>
<H2>Description</H2>

	This checks whether a licence for the given feature has already
	been checked out by this process, i.e. whether licence_checkout/6
	has been called successfully earlier.
    
<H3>Fail Conditions</H3>
Licence hasn't been checked out
<H2>Examples</H2>
<PRE>
	...,
    	( sepia_kernel:licence_held(swapper) -&gt;
	    true
	;
	    sepia_kernel:licence_checkout(swapper, ..., ..., ..., ..., ...)
	    ...
	),
	...
    </PRE>
<H2>See Also</H2>
<A HREF="../../lib/flexlm/licence_checkout-6.html">licence_checkout / 6</A>, <A HREF="../../lib/flexlm/licence_heartbeat-4.html">licence_heartbeat / 4</A>, <A HREF="../../lib/flexlm/licence_checkin-1.html">licence_checkin / 1</A>
</BODY></HTML>
